package cn.iocoder.yudao.module.trade.dal.mysql.brokerage;

import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.trade.dal.dataobject.brokerage.BrokerageUserStoreDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 分销用户-店铺关系 Mapper
 *
 * @author e3
 * @date 2025/03/15
 */
@Mapper
public interface BrokerageUserStoreMapper extends BaseMapperX<BrokerageUserStoreDO> {

    default BrokerageUserStoreDO selectByBrokerageUserId(Long brokerageUserId){
        return selectOne(BrokerageUserStoreDO::getBrokerageUserId, brokerageUserId);
    }
}
